{% extends "quest_page.html" %}

{% block page_title %}
{{quest.name}}
{% endblock %}

{% block content %}
{% if quest.id|add:"-1" %}<a href='/quests/{{quest.id|add:"-1"}}/show'>prev</a>{% endif %}
<table border="1">
<tr><th>name</th><td>{{quest.name}}</td></tr>
<tr><th>type</th><td>{{quest.type}}</td></tr>
<tr><th>level</th><td>{{quest.level}}</td></tr>
<tr><th>descr</th><td>{{quest.descr|safe}}</td></tr>
<tr><th>joined users</th><td>{% for u in joined_users %}{{u.user}}{% endfor %}</td></tr>
</table>
<a href='/quests/{{quest.id|add:"1"}}/show'>next</a>
{% endblock %}